package com.shanjupay.merchant.convert;

import com.shanjupay.merchant.vo.MerchantVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import shanjupay.merchant.Dto.MerchantDTO;

@Mapper
public interface MerchantConvert {

    MerchantConvert INSTANCE = Mappers.getMapper(MerchantConvert.class);

    MerchantVo MerchantDto2MerchantVo(MerchantDTO merchantDTO);

    MerchantDTO MerchantVo2MercahntDto(MerchantVo merchantVo);
}
